Skip to content

Android support#379

Open
gevartosky wants to merge 7 commits intoawslabs:mainfrom
gevartosky:main
Open

Android support#379
gevartosky wants to merge 7 commits intoawslabs:mainfrom
gevartosky:main

Conversation

@gevartosky
Copy link
Copy Markdown

Issue #, if available: #354

Description of changes:

This PR changes the Package.swift Include/Exclude strategy due to the fact that OS checks in the package.swift are evaluated against the host platform instead of the target platform, which caused any checks for #if os(Android) to fail.

The idea is to move header includes to a later stage where the target platform is evaluated.

This also includes AWS-LC seeing its the LibCrypto used by aws-crt-java.

I'm sure there are better ways to achieve this and I am eager to address any feedback.

After spending more time on this codebase since my last attempt, I trust this is a feasible initiative given that the dependencies used by this package are also used by aws-crt-java.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant